#ifndef QTVISIONTEST_MAINWINDOW_H
#define QTVISIONTEST_MAINWINDOW_H
#include <QMainWindow>
class QPushButton;
class QLabel;
class MyDialog;

class MainWindow : public QMainWindow
{
Q_OBJECT
public:
    explicit MainWindow(QWidget *parent = nullptr);

private slots:
    void openDialog();
    void receiveData(const QString &data);

private:
    QPushButton *openDialogButton;
    QLabel *displayLabel;
    MyDialog *dialog;
};
#endif //QTVISIONTEST_MAINWINDOW_H
